package org.atovio.coolexam.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


@AllArgsConstructor
@NoArgsConstructor
@Data
public class Question {

    /**
     * 主键
     */
    private Integer id;
    /**
     * 1.单选题 2.多选题 3.判断题 4.填空题 5.简答题
     */
    private Integer questionType;

    private Integer subjectId;
    /**
     * 题干
     */
    private String content;
    /**
     * 题目总分
     */
    private Integer score;
    /**
     * 难度 1.简单 2.中等 3.困难
     */
    private Integer difficultyLevel;
    /**
     * 正确答案。选择题为选项序号，填空题为空格（暂定）符号隔开的答案，简答题为文本答案
     */
    private String correctAnswer;
}
